dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdfac1f
)
URL-escape the main page link on the logo
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 6 Sep 2003 06:05:57 +0000
(06:05 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 6 Sep 2003 06:05:57 +0000
(06:05 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
1cbddf6
..
9576870
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-601,7
+601,8
@@
if ( isset ( $wgUseApproval ) && $wgUseApproval )
else { $a = ""; }
$mp = wfMsg( "mainpage" );
- $s = "<a href=\"" . wfLocalUrlE( $mp ) . "\"><img{$a} border=0 src=\""
+ $s = "<a href=\"" . wfLocalUrlE( urlencode( $mp ) )
+ . "\"><img{$a} border=0 src=\""
. $this->getLogo() . "\" alt=\"" . "[{$mp}]\"></a>";
return $s;
}